package datastructor;

import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;


/**
 * @Description：
 * @Author：LiDong
 * @Create：2021/1/4
 * @Version：1.0.0
 */
public class ValueTypeClass {

    private static final Logger logger = LoggerFactory.getLogger(String.valueOf(ValueTypeClass.class));

    @Test
    public void test2() {

        // 4个字节
        float x = 1.0f;
        logger.info(String.valueOf(x));

        // 8个字节
        double y = 1.23;
        logger.info(String.valueOf(y));

    }

}
